package com.example.spmyb.services.imp;

import com.example.spmyb.dao.userMapper;
import com.example.spmyb.poji.User;
import com.example.spmyb.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @create 2022-03-2022/3/12-20:56
 */
 @Service
public class UserServicesImp implements UserService {
     @Autowired
     private userMapper userMapper;

    @Override
    public List<User> getAllUser() {
        return userMapper.getAll();
    }
}
